package com.cjk.foundation.entity;

import java.io.Serializable;
import java.util.Date;

import com.cjk.foundation.enums.TunnelRemoteService;
import com.cjk.foundation.enums.TunnelStatus;

public class TunnelEntity implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7544906468365680745L;

	private Integer id;
	private Integer userId;
	private Integer localPort;
	private String localHost;
	private String remoteClient;
	private String remoteHost;
	private TunnelRemoteService remoteService;
	private Integer remotePort;
	private Date createTime;
	private Date finishTime;
	private TunnelStatus tunnelStatus;
	private Integer vaildTime;
	private Integer failCode;
	private String failMsg;
	private String createSuccess;
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public Integer getLocalPort() {
		return localPort;
	}
	public void setLocalPort(Integer localPort) {
		this.localPort = localPort;
	}
	public String getLocalHost() {
		return localHost;
	}
	public void setLocalHost(String localHost) {
		this.localHost = localHost;
	}
	public String getRemoteClient() {
		return remoteClient;
	}
	public void setRemoteClient(String remoteClient) {
		this.remoteClient = remoteClient;
	}
	public String getRemoteHost() {
		return remoteHost;
	}
	public void setRemoteHost(String remoteHost) {
		this.remoteHost = remoteHost;
	}
	public TunnelRemoteService getRemoteService() {
		return remoteService;
	}
	public void setRemoteService(TunnelRemoteService remoteService) {
		this.remoteService = remoteService;
	}
	public Integer getRemotePort() {
		return remotePort;
	}
	public void setRemotePort(Integer remotePort) {
		this.remotePort = remotePort;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getFinishTime() {
		return finishTime;
	}
	public void setFinishTime(Date finishTime) {
		this.finishTime = finishTime;
	}
	public TunnelStatus getTunnelStatus() {
		return tunnelStatus;
	}
	public void setTunnelStatus(TunnelStatus tunnelStatus) {
		this.tunnelStatus = tunnelStatus;
	}
	public Integer getVaildTime() {
		return vaildTime;
	}
	public void setVaildTime(Integer vaildTime) {
		this.vaildTime = vaildTime;
	}
	public Integer getFailCode() {
		return failCode;
	}
	public void setFailCode(Integer failCode) {
		this.failCode = failCode;
	}
	public String getFailMsg() {
		return failMsg;
	}
	public void setFailMsg(String failMsg) {
		this.failMsg = failMsg;
	}
	public String getCreateSuccess() {
		return createSuccess;
	}
	public void setCreateSuccess(String createSuccess) {
		this.createSuccess = createSuccess;
	}
	
}
